<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>人员信息修改</title>
</head>
<body>
<div style="position: relative;top: 150px;left: 550px">
    <h3>人力资源管理系统</h3>

    <table border="2">
        <caption align="center">人力信息添加</caption>
        <tr>
            <th th:each="attr : ${attrs}" th:text="${attr}"></th>
            <th>操作</th>
        </tr>
        <form action="http://localhost:8080/april/newInsert">
            <tr>
                <td th:each="attr : ${attrs}"><input type="text" style="width: 150px" th:name="${attr}" ></td>
                <td><input type="submit" value="添加"></td>
            </tr>
            <input type="text" style="display: none" name="state" value="0">
        </form>
    </table>

</div>
</body>
</html>